<script setup lang="ts">
import BasicLayout from '@/layouts/BasicLayout.vue'

import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import {useLoginUserStore} from "@/stores/loginUser.ts";
dayjs.locale('zh-cn')

const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUser ()

</script>

<template>
  <div id="app">
    <a-config-provider :locale="zhCN">
      <BasicLayout />
    </a-config-provider>
  </div>
</template>

<style></style>
